When you use the Deployment Backup and Recovery Tool batch commands sas-recover-offline or sas-recover, recovery of the Content Server fails if the password for the dbmsowner account contains the spacing character ^ (also known as the caret). When this problem occurs, an error like the one in the example shown below is reported to the console:
errorEntries statusCode: 315 name: COMMAND_TOOL_ERROR_SCS category: CONTENTSERVER classification: ERROR dateTimeOfError: 2016-12-20T14_18_36 logName: ContentServer.log logFileLocation: C:\SAS\Config\Lev1\Backup\Logs\2016-12-20T14_16_27\recover\ContentServer operationType: recover originatingTier: Host: yourhost.yourdomain.com Configuration Directory: C:\SAS\Config\Lev1 message: An error occurred while performing content server backup or recovery.
If you are unsure whether the dbmsowner password contains a caret (^), do the following:
2016-12-20 14:18:36.127 ESTFATAL: password authentication failed for user "dbmsowner"
2016-12-20 14:18:36,206 [main] ERROR com.sas.svcs.backup.server.BackupDriver - An exception while running the BackupServer executable, Exiting..... : null Error Code: 315 at com.sas.svcs.backup.server.handler.SCSRecoveryHandler.restoreSCS(SCSRecoveryHandler.java:533) at com.sas.svcs.backup.server.handler.SCSRecoveryHandler.execute(SCSRecoveryHandler.java:190) at com.sas.svcs.backup.server.handler.SCSRecoveryHandler.execute(SCSRecoveryHandler.java:37) at com.sas.svcs.backup.server.BackupServerSession.execute(BackupServerSession.java:107) at com.sas.svcs.backup.server.BackupDriver.main(BackupDriver.java:131) 2016-12-20 14:18:36,206 [main] ERROR com.sas.svcs.backup.server.BackupDriver - [Ljava.lang.StackTraceElement;@4388fa1d 2016-12-20 14:18:36,206 [main] INFO com.sas.svcs.backup.server.BackupDriver - Exiting with status code: 315
As part of the Content Server recovery process, the Deployment Backup and Recovery Tool retrieves the dbmsowner password from SAS metadata and uses this information to connect to the SharedServices database. The problem described here happens when the dbmsowner password includes a caret (^). After retrieving the dbmsowner password from metadata, the recovery uses an incorrect dbmsowner password when running the JCRCopyRepository.bat file or the JCRCopyRepository.sh file. As a result, the connection to the SharedServices database fails and the Content Server recovery is reported as failed.
Click the Hot Fix tab in this note to access the hot fix for this issue.
If you prefer, you can perform the following workaround.
Modify the JCRCopyRepository.bat file or the JCRCopyRepository.sh file to use the SAS encoded password for dbmsowner, as follows:
Here is an example: dbmsowner, -pgpw, {SAS002}1D579339176B2AC53D0B0CB63F5BE684
Example:
Change -Dscs.jni.pwd=%4 to -Dscs.jni.pwd={SAS002}1D579339176B2AC53D0B0CB63F5BE684.
Note: Replace the SAS encoded password in this example with the SAS encoded password for dbmsowner that you found in step 1 of the workaround.
If Content Server recovery fails again:
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Deployment Backup and Recovery Tool | 64-bit Enabled AIX | 9.4 | 9.43 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft® Windows® for x64 | 9.4 | 9.43 | 9.4 TS1M0 | 9.4 TS1M5 | ||
HP-UX IPF | 9.4 | 9.43 | 9.4 TS1M0 | 9.4 TS1M5 | ||
64-bit Enabled Solaris | 9.4 | 9.43 | 9.4 TS1M0 | 9.4 TS1M5 | ||
Linux for x64 | 9.4 | 9.43 | 9.4 TS1M0 | 9.4 TS1M5 | ||
Solaris for x64 | 9.4 | 9.43 | 9.4 TS1M0 | 9.4 TS1M5 |
A fix for this issue for SAS Middle Tier 9.4_M4 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/A4I.html#59608A fix for this issue for SAS Middle Tier 9.4_M3 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/V10.html#59608A fix for this issue for SAS Middle Tier 9.4_M2 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/R75.html#59608Type: | Problem Note |
Priority: | high |
Date Modified: | 2017-05-10 10:39:05 |
Date Created: | 2017-01-02 08:58:27 |